package com.itheima.Pojo;

import java.io.Serializable;

/**
 * @Description 
 * @author PianZhu
 * @date 2025/03/17
 */
public class Clazz implements Serializable {
	/* 班级编号，主键，唯一标识一个班级 */
	private Integer clazzId;

	/* 班级名称，不能为空 */
	private String clazzName;

	/* 所属院系的代码，外键，关联到院系表的代码 */
	private Integer departmentCode;

	/* 班主任的id，外键，关联到教师表的id */
	private Integer teacherId;

	public void setClazzId(Integer clazzId){
		this.clazzId = clazzId;
	}
	public Integer getClazzId(){
		return clazzId;
	}

	public void setClazzName(String clazzName){
		this.clazzName = clazzName;
	}
	public String getClazzName(){
		return clazzName;
	}

	public void setDepartmentCode(Integer departmentCode){
		this.departmentCode = departmentCode;
	}
	public Integer getDepartmentCode(){
		return departmentCode;
	}

	public void setTeacherId(Integer teacherId){
		this.teacherId = teacherId;
	}
	public Integer getTeacherId(){
		return teacherId;
	}

	@Override
	public String toString() {
		return "班级编号-主键-唯一标识一个班级: " + clazzId + "," + "班级名称-不能为空: " + clazzName + "," + "所属院系的代码-外键-关联到院系表的代码: " + departmentCode + "," + "班主任的id-外键-关联到教师表的id: " + teacherId;
	}
}